package com.example.demo;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * Copyright (C) 2014-2023 天津紫藤科技有限公司. Co. Ltd. All Rights Reserved.
 *
 * @author tongdashuai
 * @version 1.0
 * @description
 * @module
 * @date 2023/6/2 16:02
 */
public class MyTest2 {

    public static void main(String[] args) {
        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();
        String encode = bCryptPasswordEncoder.encode("123789");
        System.out.println(encode);
    }
}
